;
; Copyright (c) Microsoft Corporation.  All rights reserved.
;
;
; Use of this sample source code is subject to the terms of the Microsoft
; license agreement under which you licensed this sample source code. If
; you did not accept the terms of the license agreement, you are not
; authorized to use this sample source code. For the terms of the license,
; please see the license agreement between you and Microsoft or, if applicable,
; see the LICENSE.RTF on your install media or the root of your tools installation.
; THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES OR INDEMNITIES.
;
;*****************************************************************************
;*     RAM Layout: Nand boot; non IU
;*     ------------------------------
;*      --------------------------------------> 8400_0000
;*      |        Display for ULDR UI    |                 --------------------------------------> 83D0_0000
;*      --------------------------------------> 83CC_7000 |        EBT RAMIMAGE (1MB)    |
;*      |                               |                 --------------------------------------> 83C0_0000
;*      |                               |                 |        EBT/IPL Stack (1MB)   |
;*      |                               |                 --------------------------------------> 83B0_0000
;*      |                               |                 |        EBT/IPL RAM (1MB-16KB)   |
;*      |                               |                 --------------------------------------> 83A0_4000
;*      |                               |                 |        EBT Pagetables (16KB)  |
;*      |                               |                 --------------------------------------> 83A0_0000
;*      |                               |                 |        IPL RAMIMAGE (1MB)     |
;*      |                               |                 |                               |
;*      |                               |                 --------------------------------------> 8390_0000
;*      |                               |                 |                               |
;*      |        OS  RAM                |                 --------------------------------------> 
;*      |                               |
;*      |                               |
;*      |                               |
;*      |                               |
;*      |                               |
;*      |                               |
;*      |                               |
;*      |                               |
;*      |                               |
;*      |                               |
;*      |-------------------------------| *autosize can alter the start
;*      |        NK RAMIMAGE            |
;*      |                               |
;*      --------------------------------------> 8000_1000
;*      |                               |
;*      |        EBT ARGS(4K)           |
;*      --------------------------------------> 8000_0000
;*
;******************************************************************************

MEMORY
;   Name      Start     Size      Type
;   -------   --------  --------  ----
    RAM      83A04000  000FC000  RAM
    STACK    83B00000  00100000  RESERVED
    IPL      83900000  00020000  RAMIMAGE
    ARGS     80000000  00001000  RESERVED

CONFIG
        COMPRESSION=ON
        PROFILE=OFF
        KERNELFIXUPS=ON

        ROMSTART=83900000
        ROMWIDTH=32
; Note ROMSIZE is a flash block size (different from text size).
        ROMSIZE=00020000

MODULES
;   Name        Path                                                           Memory Type
;   ----------  ----------------------------------------------------------     -----------
    nk.exe      $(_TARGETPLATROOT)\target\$(_TGTCPU)\$(WINCEDEBUG)\ipl.exe     IPL

